package com.animal.mapper;

import com.animal.entity.AnUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author animal
 * @since 2022-01-28
 */

@Mapper
public interface AnUserMapper extends BaseMapper<AnUser> {
    List<String> getRoleCodeByUserName(String username);
    List<AnUser> findAll();
    AnUser findByname(String username);
    AnUser findUser(int userId);
}
